package org.jeecg.modules.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.equipment.EquipmentCondition;
import org.jeecg.modules.equipment.entity.Equipment;
import org.jeecg.modules.equipment.entity.EquipmentInstallCondition;
import org.jeecg.modules.equipment.model.EquipmentModel;

import java.util.List;

/**
 * @Auther: zhuzhuhong
 * @Date: 2019/11/15 15:49
 * @Description:
 */

public interface EquipmentService extends IService<Equipment> {

    /**
    * 根据条件查询设备列表
    * @Author zhuzhuhong
    * @Date  2019/11/19
    * @param condition
    * @return
    */
    List<EquipmentModel> findEquipmentList(EquipmentCondition condition);

    /**
    * 设备安装
    * @Author zhuzhuhong
    * @Date  2019/11/22
    * @param condition
    * @return
    */
    boolean installFilterCartridge(EquipmentInstallCondition condition);

}
